
#ifndef BOXGAME_H
#define BOXGAME_H
#include<QPainter>
#include<QEvent>
#include<QKeyEvent>
#include<QString>
#include<QImage>
class BoxGame{
public:
    BoxGame();
    void initMap();
    void drawMap(QPainter*pDraw);
    void keyDown(QKeyEvent*event);
    int getRow();
    int getCols();
    bool gameover();
protected:
    int map[8][8];
};

#endif // BOXGAME_H
